package com.dinadi.yidi.ui.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ListView;

import com.dinadi.yidi.R;


public class ReplyListViewHead extends ListView {

	View view;
	View viewFooter;

	public ReplyListViewHead(Context context)
	{
		super(context);
		addHeaderView(view);
		addFooterView(viewFooter);
	}

	public ReplyListViewHead(Context context, AttributeSet attrs)
	{
		super(context, attrs);
		addHeaderView(view);
		addFooterView(viewFooter);
	}

	public ReplyListViewHead(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
		addHeaderView(view);
		addFooterView(viewFooter);
	}

	@Override
	public void addHeaderView(View v) {

		v = View.inflate(getContext(), R.layout.listview_reply_head,null);

		super.addHeaderView(v);
	}

	@Override
	public void addFooterView(View v) {

		v = View.inflate(getContext(), R.layout.load_more_footview_layout,null);

		super.addFooterView(v);
	}
}
